/** @type {import('ts-jest').JestConfigWithTsJest} */
export default {
  preset: 'ts-jest',
  testEnvironment: 'jsdom',
  testMatch: ['**/tests/**/*.test.ts'],
  moduleDirectories: ['node_modules', 'src'],
  transform: {
    '^.+\.ts?$': ['ts-jest', {
      tsconfig: 'tsconfig.test.json',
    }],
  },
};